package com.springboot.bigevent.service;


import com.springboot.bigevent.pojo.User;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public interface UserService {
    //根据用户名查询用户
    User findByUsername(String username);
    //注册
    void register(String username, String password);


    void update(User user);

    void updateAvatar(String avatarUrl);


    void updatePwd(String newPwd);
}
